<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class HomeController extends Controller
{
    /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct()
    {
        // 使用 auth 中间件，在 \App\Http\Kernel.php 中配置
        // 具体执行操作的代码位于 \App\Http\Middleware\Authenticate
        // $this->middleware('auth');
    }

    /**
     * Show the application dashboard.
     *
     * @return Response
     */
    public function index()
    {
        // $user = Auth::user();
        return view('home');
    }
}
